package com.jic.market.api.manage;

import com.jic.common.base.vo.RestResult;
import com.jic.market.request.PromotionRuleRequest;
import com.jic.market.request.ReloadMutexProductRequest;
import com.jic.market.response.PromotionRuleResponse;
import com.jic.market.response.ReloadMutexProductResponse;

import java.util.List;

/**
 * 促销规则
 *
 * @author guohuayong
 * @date: 2020年02月20日
 */
public interface PromotionRuleApi {
    RestResult<List<PromotionRuleResponse>> list(PromotionRuleRequest.PromotionRuleListRequest listRequest);
    RestResult<Integer> saveBatch(PromotionRuleRequest request);
    RestResult<Integer> update(PromotionRuleRequest.PromotionRuleListRequest listRequest);
    RestResult<List<PromotionRuleResponse>> save(PromotionRuleRequest.PromotionRuleListRequest request);
    RestResult<List<PromotionRuleResponse>> delete(PromotionRuleRequest.PromotionRuleListRequest request);
}
